
public class AtomicBond {

	//For testing purposes only I will use specific definitions!
	//I should research the factory pattern to create
	//an abstract atom class with some lovely features
	
	private float bondWeight;
	private float bondElectroNeg;
	private float bondLength; //very approximate! I should put a disclaimer for this
	private float numOfBonds;
	private int orbitalType; // 1 = sp, 2 = sp2, 3 = sp3
	private int stereoSpatial; //I will think of this later
	
	
	AtomicBond(AbstractAtom atom1, AbstractAtom atom2) 
	{
		atom1.addBond();
		System.out.println("Carbon has been added");
		atom2.addBond();
		System.out.println("Hydrogen has been added");
		System.out.println("C-H bond has been created!");
		
		bondWeight = atom1.getMolWeight() + atom2.getMolWeight();
		System.out.println(bondWeight);
		bondElectroNeg = Math.abs(atom1.getElectroNeg() - atom2.getElectroNeg()); //error checking for negs
		System.out.println(bondElectroNeg);
		bondLength = atom1.getAtomicRadii() + atom2.getAtomicRadii();
		System.out.println(bondLength);
	    numOfBonds = 1; 
	    System.out.println(numOfBonds);
		
	    //Only an initial value. Obviously if there is a bond, minimum 1
	    // I have to give some thought to this one. It is entirely dependent on
	    //what types of bonds the atom has!   orbitalType = stereoSpatial = 
	}
}
